import App from './App'
import store from "@/store/index.js"
// new Vue({
// 	el:"#app",
// 	router,
// 	render: h =>h(App),
// 	store
// })
//import BASE_URL from './api.js'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
//Vue.prototype.$BASE_URL = BASE_URL
Vue.prototype.$BASE_URL = 'http://47.120.44.158:8084'

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'

export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  return {
    app
  }
}
// #endif